package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.QualityGlassSizeReq;
import com.ruibang.glass.quality.domain.req.SemiCheckReportReq;
import com.ruibang.glass.quality.domain.resp.SemiCheckDetailData;
import com.ruibang.glass.quality.entity.QualityGlassSize;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import com.teaming.cloud.framework2.common.pojo.PageResult;

import java.util.List;

/**
 * <p>
 * 半成品玻璃尺寸信息 服务类
 * </p>
 *
 * @author wujie
 * @since 2024-03-11
 */
public interface QualityGlassSizeService extends IService<QualityGlassSize> {

    /***
     * 新增半成品玻璃尺寸信息
     * @param qualityGlassSize
     */
    void saveInfo(QualityGlassSize qualityGlassSize);

    /***
     * 更新半成品玻璃尺寸信息
     * @param qualityGlassSize
     */
    void updateInfo(QualityGlassSize qualityGlassSize);

    /***
     * 删除
     * @param id
     */
    void delete(String id);

    /***
     * 分页列表查询半成品玻璃尺寸信息
     * @param pageRequest
     * @return
     */
    PageResult<QualityGlassSize> queryPage(PageRequest<QualityGlassSizeReq> pageRequest);

    /***
     * 非分页列表查询半成品玻璃尺寸信息
     * @param glassSizeReq
     * @return
     */
    List<QualityGlassSize> queryQualityGlassSize(QualityGlassSizeReq glassSizeReq);

    List<SemiCheckDetailData> queryGlassSizeCheckData(SemiCheckReportReq reportReq);
}
